<template>
  <div>
    <span id="count">{{count}}</span>
    <button @click="add">+</button>
  </div>
</template>

<script>
export default {
  data () {
    return {count: 10};
  },
  methods: {
    add () {
      this.count++;
    }
  }
};
</script>

<style scoped>

</style>